package cn.lili.modules.promotion.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.order.order.entity.vo.UnionMonthFundsVO;
import cn.lili.modules.order.order.entity.vo.UnionOrderParams;
import cn.lili.modules.promotion.client.GreenClient;
import cn.lili.modules.promotion.entity.dos.GreenConfig;
import cn.lili.modules.promotion.entity.dos.GreenContributionInfo;
import cn.lili.modules.promotion.entity.dto.GreenConfigValueDTO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * @author xiangqian
 * @version 1.0
 * @data 2023/12/21 15:58
 */
public class GreenFallback implements GreenClient {
    @Override
    public Boolean initGreenUnitPrice() {
        throw new ServiceException();
    }

    @Override
    public Boolean saveSettle(GreenContributionInfo greenContributionInfo) {
        throw new ServiceException();
    }

    @Override
    public GreenConfigValueDTO getNewGreenConfigValueDTO() {
        throw new ServiceException();
    }

    @Override
    public Boolean settle(String orderItemSn, String userId) {
        throw new ServiceException();
    }

    @Override
    public Boolean settleDirect(String orderSn, String userId, String status) {
        throw new ServiceException();
    }

    @Override
    public GreenContributionInfo getGreenContributionInfo(GreenContributionInfo greenContributionInfo) {
        throw new ServiceException();
    }

    @Override
    public Page<UnionMonthFundsVO> getSumContributeSettleByUnion(UnionOrderParams params) {
        throw new ServiceException();
    }
}
